// 导入其他模块路由
import { homeRoutes } from './home'

// 导出所有模块路由
export const asyncRoutes = [
  ...homeRoutes,
  ...homeRoutes,
  {
    path: '/:pathMatch(.*)*',
    redirect: '/404',
    name: 'NotFound',
    meta: {
      title: '404',
      hidden: true,
    },
  },
]

// 单独导出各个模块路由，方便按需使用

export { goodsRoutes } from './goods'
export { homeRoutes } from './home'
